package com.example.personal.api
import com.gsafety.library.BaseApplication
import com.gsafety.library.Net.BaseNetCore
import com.gsafety.libraryktx.config.Constant
import com.gsafety.libraryktx.net.provider.NoHeaderNetProvider


/**
 * @FileName: PersonalApiManager.kt
 * @author: lj
 * @date: 08-10:52
 * @version V1.0 <描述当前版本功能>
 * @desc
 */
object PersonalApiManager {
    val apiService by lazy {
        BaseNetCore.getInstance().getRetrofit(Constant.IP_SYSTEM_URL,
            NoHeaderNetProvider(BaseApplication.instance!!.applicationContext)).create(ApiService::class.java)
    }

    val loginapiService by lazy {
        BaseNetCore.getInstance().getRetrofit(Constant.IP_LOGIN_URL,
            NoHeaderNetProvider(BaseApplication.instance!!.applicationContext)).create(ApiService::class.java)
    }
}